﻿using System;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.ServiceModel.Activation;
using System.Collections.Generic;
using System.Text;
using BLL.SchemaDiscovery;

namespace SVC.SchemaDiscovery
{
    
    [AspNetCompatibilityRequirements(RequirementsMode = AspNetCompatibilityRequirementsMode.Allowed)]
    public class TableStatsService : ITableStatsService
    {
        #region Implementation of ITableStatsService

        public Dictionary<string, FieldStats> GetTableStats(string serverName, string dbName, string schemaName, string tblName)
        {
            return TableStatsManager.GetTableStats(
                serverName, dbName, schemaName, tblName);
        }

        #endregion
    }
}
